<ion-view title="统计" hide-nav-bar="true" xmlns:c="http://www.w3.org/1999/XSL/Transform">
    <ion-content>
        <div style="
    position: relative;
    width: 100%;
    height: 40px;
    overflow: hidden;
">
            <a class="button button-outline icon-right ion-navicon button-balanced" id="naviconReport"></a>
            <a class="icon ion-chevron-down" id="studentChoice"></a>
        </div>
        <ion-scroll>
        <ion-slide-box on-slide-changed="slideChanged(index)" active-slide="slideIndex" show-pager="false" does-continue="true">
            <ion-slide class="slide-div" ng-repeat="s in vm.slideSize " on-swipe-left="onSwipeLeft($index)" on-swipe-right="onSwipeRight($index)" repeat-done="repeatDone()">
                <div  style="min-width: 100%; height: 300px" id="conns{{$index}}" class="reportUt"></div>
                <div style="min-width: 100%; height: 300px; display: none"  id="nullReport">
                    <p style="color: #0a9dc7">最近您的孩子未有任何评分哦</p>
                </div>
                <div class="weui-grids" id="fractionGrid">
                    <a href="javascript:;" class="weui-grid">
                        <div class="weui-grid__icon">
                            <span>{{vm.fraction.sumEmotion}}</span>
                        </div>
                        <p class="weui-grid__label">情绪</p>
                    </a>
                    <a href="javascript:;" class="weui-grid">
                        <div class="weui-grid__icon">
                            <span>{{vm.fraction.sumCommunication}}</span>
                        </div>
                        <p class="weui-grid__label">合作交往</p>
                    </a>
                    <a href="javascript:;" class="weui-grid">
                        <div class="weui-grid__icon">
                            <span>{{vm.fraction.sumOperation}}</span>
                        </div>
                        <p class="weui-grid__label">动手操作</p>
                    </a>
                    <a href="javascript:;" class="weui-grid">
                        <div class="weui-grid__icon">
                            <span>{{vm.fraction.sumHabit}}</span>
                        </div>
                        <p class="weui-grid__label">学习习惯</p>
                    </a>
                    <a href="javascript:;" class="weui-grid">
                        <div class="weui-grid__icon">
                            <span>{{vm.fraction.sumHygiene}}</span>
                        </div>
                        <p class="weui-grid__label">卫生习惯</p>
                    </a>
                    <a href="javascript:;" class="weui-grid">
                        <div class="weui-grid__icon">
                            <span>{{vm.fraction.sumTheMeal}}</span>
                        </div>
                        <p class="weui-grid__label">进餐</p>
                    </a>
                    <a href="javascript:;" class="weui-grid">
                        <div class="weui-grid__icon">
                            <span>{{vm.fraction.sumSinceReason}}</span>
                        </div>
                        <p class="weui-grid__label">生活自理</p>
                    </a>
                    <a href="javascript:;" class="weui-grid">
                        <div class="weui-grid__icon">
                            <span>{{vm.fraction.sumHealthy}}</span>
                        </div>
                        <p class="weui-grid__label">锻炼身体</p>
                    </a>
                    <a href="javascript:;" class="weui-grid">
                        <div class="weui-grid__icon">
                            <span>{{vm.fraction.sumSleep}}</span>
                        </div>
                        <p class="weui-grid__label">睡眠</p>
                    </a>
                </div>
            </ion-slide>
        </ion-slide-box>
        </ion-scroll>
        <div class="weui-skin_android" id="androidActionsheet" style="display: none">
            <div class="weui-mask"></div>
            <div class="weui-actionsheet">
                <div class="weui-actionsheet__menu">
                    <div class="weui-actionsheet__cell" ng-click="choiceReport($event)" name="week">选择以周为统计周期</div>
                    <div class="weui-actionsheet__cell" ng-click="choiceReport($event)" name="month">选择以月为统计周期</div>
                    <div class="weui-actionsheet__cell" ng-click="choiceReport($event)" name="year">选择以年为统计周期</div>
                </div>
            </div>
        </div>

        <div class="weui-skin_android" id="studentChoicesheet" style="display: none">
            <div class="weui-masks"></div>
            <div class="weui-actionsheet">
                <div class="weui-actionsheet__menu" ng-repeat="s in vm.studentList">
                    <div class="weui-actionsheet__cell" ng-click="choiceStudent($event)" name="{{s.memberId}}" >{{s.memberName}}</div>
                </div>
            </div>
        </div>
    </ion-content>

</ion-view>